<script type="text/javascript" src="manage/sitemap/listSiteMap.js" charset="utf-8"></script>
<script type="text/javascript" src="manage/security/permission/permission.js" charset="utf-8"></script>

<div>
	<form id="searchForm" class="init ccay-form">
		<div class="ccay-form-body">
			<ul>
				<li class="ccay-form-row">
					<samp class="i18n" i18nKey="ccay.sitemap.label.name"></samp>
					<span class='ccay-form-input'>
						<input type="text" name="name" maxLength="100" />
					</span>
				</li>
				<li class="ccay-form-row">
					<samp class="i18n" i18nKey="ccay.sitemap.label.description"></samp>
					<span class='ccay-form-input'>
						<input type="text" name="description" maxLength="100" />
					</span>
				</li>
			</ul>
		</div>
		<div class="ccay-operate">
	 		<span id="btnSearch" class="default ccay-button">
	 			<a class="ccay-icon search"></a>
	 			<label class="i18n" i18nkey="ccay.common.button.search"></label>
	 		</span>
			<span class="init button ccay-button reset">
				<a class="ccay-icon reset"></a>
				<label class="i18n" i18nkey="ccay.common.button.reset"></label>
			</span>
		</div>
	</form>
	
	<!--grid操作区域-->
	<div class="ccay-grid" id="dvSiteMap">
		<div class="ccay-grid-toolbar" id="tbrSiteMap">
			<span id="btnAdd" class="ccay-button " ccayPermission="Service$SiteMap.Manage$create">
		 		<a class="ccay-icon add"></a>
		 		<label class="i18n" i18nKey="ccay.common.button.gridAdd"></label>
		 	</span>
            <span id="btnDelete" class="ccay-button " ccayPermission="Service$SiteMap.Manage$delete">
		 		<a class="ccay-icon pre-del"></a>
		 		<label class="i18n" i18nKey="ccay.common.button.gridDelete"></label>
		 	</span>
            <span id="btnUndoDelete" class="ccay-button " ccayPermission="Service$SiteMap.Manage$delete">
		 		<a class="ccay-icon undel"></a>
		 		<label class="i18n" i18nKey="ccay.common.button.gridUndoDelete"></label>
		 	</span>
            <span id="btnSave" class="ccay-button " ccayPermission="Service$SiteMap.Manage$delete|Service$SiteMap.Manage$create|Service$SiteMap.Manage$update" onclick="Ccay.SiteMap.ListSiteMap.save()">
		 		<a class="ccay-icon save"></a>
		 		<label class="i18n" i18nKey="ccay.common.button.gridSave"></label>
		 	</span>
		 	
		 	<div class="ccay-menubutton init "  ccayPermission="Service$SiteMap.Manage$import|Service$SiteMap.Manage$export">
				<div class="ccay-menubutton-body">
					<a class="ccay-icon excel"></a>
					<span class="i18n" i18nKey="ccay.common.button.importExport"></span>
				</div>
				<a class="ccay-menubutton-btn" href="javascript:void 0"></a>
				<div class="ccay-menubutton-selector">
					<ul>
						<li class="ccay-menubutton-item " ccayPermission="Service$SiteMap.Manage$import" onclick="Ccay.SiteMap.ListSiteMap.siteMapImport()">
							<a class="ccay-icon import"></a>
							<span class="i18n" i18nKey="ccay.common.button.import"></span>
						</li>
						<li class="ccay-menubutton-item " ccayPermission="Service$SiteMap.Manage$export" onclick="Ccay.SiteMap.ListSiteMap.siteMapExport()">
							<a class="ccay-icon export"></a>
							<span class="i18n" i18nKey="ccay.common.button.export"></span>
						</li>
						<li class="ccay-menubutton-item " ccayPermission="Service$SiteMap.Manage$import" onclick="location.href='servlet/download?dlType=ExcelTemplate&excelType=ccay.sitemap.siteNode'">
							<a class="ccay-icon download"></a>
							<span class="i18n" i18nKey="ccay.common.label.importTemplate"></span>
						</li>
					</ul>
				</div>
			</div>
	
		</div>
		<!--数据表格-->
		<div id="listSiteMapIgrid"></div>
	</div>
</div>


